package com.itheima.api.client;

import com.itheima.api.client.dto.TagDto;
import com.itheima.api.client.po.TBanner;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;

import java.util.List;

@FeignClient(value = "blog-admin",contextId = "blogAdmin")
public interface BannerClient {
    @GetMapping(value = "/admin/banner/all")
    public List<TBanner> getTagList();
}
